{% extends 'core/_base.html' %} {% comment %} {% load customer_tags %} {% endcomment %} {% load static %} {% block title %} Customers {% endblock title %} {% block body %}
Manage Customer
{% if customers %}
{% for customer in customers %} {% endfor %} {% comment %} {% endcomment %}
SL. Customer Name Email Mobile Number Address Action
{{ forloop.counter }} {{ customer.name}} {{ customer.email }} {{ customer.phone_number }} {{ customer.address|truncatechars:9 }}
Total: {% total_balance %}
{% if customers.has_previous %} Previous {% endif %}
{% if customers.has_next %} Next {% endif %}

Showing {{ customers.number }}/{{ customers.paginator.num_pages }}

{% else %} {% include 'core/info/message.html' %} {% endif %}
{% endblock body %}